package com.dao;

import com.entity.Product;

import java.sql.SQLException;
import java.util.List;

/**
 * @ProjectName: shop
 * @Author: Jsx
 * @Time: 2020/8/30 21:24
 * @Description:
 */
public interface ProductDao {

    List<Product> queryProductById(String tid, int currentpage, int pageSize) throws SQLException;

    Long queryCountByTid(String tid) throws SQLException;
}
